/*
 * ServiceSearcher.java
 *
 * Created on 7 novembre 2007, 16.01
 *
 * Interface used to wait for Service Search by ServiceSearcherAgent
 *
 * @version 1.1
 * @author Federico Paparoni
 */

package com.javastaff.btfree;

import javax.bluetooth.ServiceRecord;

public interface ServiceSearcher {
    
    /**
     * Callback method to retrieve BTFree services 
     *
     * @param servRecord ServiceRecord found during search
     */
    
    void serviceFound(ServiceRecord servRecord);
    
    /**
     * Callback method to signal error during search 
     *
     * @param error Error string
     */
    
    void signalError(String error);
    
}
